from flask import Flask, request, jsonify
from flask_cors import CORS

app = Flask(__name__)
CORS(app)


@app.route('/test')
def test():
    id = request.args.get('id')
    print(id)
    return jsonify({'code': 200})


if __name__ == '__main__':
    app.run(debug=True)
